import { AxiosPromise } from 'axios'
// @ts-ignore
import request from '/@/utils/request'

const prefix = '/api/dms/dispose/'
// 新增
export const disposeKeyTree: (data: object) => AxiosPromise = (data) =>
  request(`${prefix}keyTree`, { data })

